//
//  GLShopCell.m
//  瀑布流
//
//  Created by CoderGL on 15/12/2.
//  Copyright © 2015年 GL. All rights reserved.
//

#import "GLShopCell.h"
#import "GLShop.h"
#import "UIImageView+WebCache.h"

@interface GLShopCell()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@end

@implementation GLShopCell



- (void)setShop:(GLShop *)shop {
    _shop = shop;
    
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:shop.img] placeholderImage:[UIImage imageNamed:@"loading"]];
    
    self.priceLabel.text = shop.price;
}

@end
